//=============================================================================
#ifndef _CAREA_H_
    #define _CAREA_H_

#include "CMap.h"
#include "CTexture.h"

//=============================================================================
class CArea {
    public:
        static std::vector<CArea> AreaList;

    public:
        std::vector<CMap>       MapList;

    private:
        int                     AreaSize;

        CTexture                Tex_Tileset;

    public:
        CArea();

        bool    OnLoad(char* AreaFile);

        void    OnRender(int CameraX, int CameraY);

        void    OnCleanup();

    public:
        int     GetMapID(int X, int Y);

        int     GetTileID(int X, int Y);
};

//=============================================================================

#endif

